package com.example.note.viewholder;

import android.content.Context;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.EditText;
import android.widget.Spinner;


import com.axdac.mixbind.view.Bind;
import com.axdac.mixbind.view.MixBind;
import com.example.note.R;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public class AddNoteHolder {
    @Bind(viewId = R.id.title,valueKey = "title")
    public EditText title;

    @Bind(viewId = R.id.content)
    public EditText content;


    public View view;

    public int selectmode = 0;


    public AddNoteHolder(Context context){
        view = View.inflate(context, R.layout.view_add_note, null);
        try {
            MixBind.OnlyBindView(view,this);
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        }
    }
}
